using System;

namespace SharpMud.MudLib.SAMPLE.Entities
{
	public class PasswordMismatchException : MudLibException
	{

		private string _PlayerName;
		public string PlayerName
		{
			get
			{
				return _PlayerName;
			}
		}

		public PasswordMismatchException() 
			: base()
		{
		}

		public PasswordMismatchException(string playerName)
			:base(String.Format("Password mismatch on player '{0}'.",playerName))
		{
			_PlayerName = playerName;
		}

		public PasswordMismatchException(string playerName, string message)
			:base(message)
		{
			_PlayerName = playerName;
		}
	}
}
